package com.itao.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sjt
 * @Date 2024/12/19 10:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private Integer id;

    private String userName;

    private Integer age;

    public User(String userName, Integer age) {
        this.age = age;
        this.userName = userName;
    }
}
